task :peanut do
	nix = true
	nix = false if system("dir")
	
	if not nix
		system("mkdir log")
		system("echo.>log\\development.log")
		system("copy config\\database_example.yml config\\database.yml")
	else
		system("mkdir log")
		system("echo "" > log/development.log")
		system("copy config/database_example.yml config/database.yml")
	end
end

task :migrate_routine do
	system("rake db:migrate VERSION=0")
	system("rake db:migrate")
	system("rake db:fixtures:load")
end